package org.zk.entity;





import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author Alicelonely
 * @since 2019-12-11
 */
public class Course implements Serializable {

    private static final long serialVersionUID = 1L;


    private Integer courseId;
    /**
     * 课程名称
     */

    private String courseName;
    /**
     * 二级分类外键
     */

    private Subject subject;
    /**
     * 一级分类外键
     */

    private Type type;
    /**
     * 老师外键
     */

    private Teacher teacher;
    /**
     * 课程价格
     */
    private Double coursePrice;
    /**
     * 课程简介
     */

    private String courseIntroduction;


    private Integer countVip;
    private Integer countUser;
    /**
     * 课程展示图片
     */

    private String coursePic;
    /**
     * 创建时间
     */

    private  String courseTime;
    /**
     * 封面图片
     */

    private String courseCover;
    /**
     * 好评率
     */

    private Float courseFavorateRate;
    /**
     * 好评数
     */

    private Integer courseGood;
    /**
     * 中评数
     */

    private Integer courseZhong;
    /**
     * 差评数
     */

    private Integer courseCha;
    /**
     * 总评数
     */

    private Integer courseAll;
    /**
     * 是否收费，0收费，1免费
     */

    private Integer courseState;

    private String courseFlag; //是否审核 0未审核 1同意 2拒绝


    @Override
    public String toString() {
        return "Course{" +
                "courseId=" + courseId +
                ", courseName='" + courseName + '\'' +
                ", subject=" + subject +
                ", type=" + type +
                ", teacher=" + teacher +
                ", coursePrice=" + coursePrice +
                ", courseIntroduction='" + courseIntroduction + '\'' +
                ", coursePic='" + coursePic + '\'' +
                ", courseTime='" + courseTime + '\'' +
                ", courseCover='" + courseCover + '\'' +
                ", courseFavorateRate=" + courseFavorateRate +
                ", courseGood=" + courseGood +
                ", courseZhong=" + courseZhong +
                ", courseCha=" + courseCha +
                ", courseAll=" + courseAll +
                ", courseState=" + courseState +
                '}';
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Integer getCourseId() {
        return courseId;
    }

    public void setCourseId(Integer courseId) {
        this.courseId = courseId;
    }

    public String getCourseName() {
        return courseName;
    }

    public void setCourseName(String courseName) {
        this.courseName = courseName;
    }

    public Subject getSubject() {
        return subject;
    }

    public void setSubject(Subject subject) {
        this.subject = subject;
    }

    public Type getType() {
        return type;
    }

    public void setType(Type type) {
        this.type = type;
    }

    public Teacher getTeacher() {
        return teacher;
    }

    public void setTeacher(Teacher teacher) {
        this.teacher = teacher;
    }

    public Double getCoursePrice() {
        return coursePrice;
    }

    public void setCoursePrice(Double coursePrice) {
        this.coursePrice = coursePrice;
    }

    public String getCourseIntroduction() {
        return courseIntroduction;
    }

    public void setCourseIntroduction(String courseIntroduction) {
        this.courseIntroduction = courseIntroduction;
    }

    public Integer getCountVip() {
        return countVip;
    }

    public void setCountVip(Integer countVip) {
        this.countVip = countVip;
    }

    public Integer getCountUser() {
        return countUser;
    }

    public void setCountUser(Integer countUser) {
        this.countUser = countUser;
    }

    public String getCoursePic() {
        return coursePic;
    }

    public void setCoursePic(String coursePic) {
        this.coursePic = coursePic;
    }

    public String getCourseTime() {
        return courseTime;
    }

    public void setCourseTime(String courseTime) {
        this.courseTime = courseTime;
    }

    public String getCourseCover() {
        return courseCover;
    }

    public void setCourseCover(String courseCover) {
        this.courseCover = courseCover;
    }

    public Float getCourseFavorateRate() {
        return courseFavorateRate;
    }

    public void setCourseFavorateRate(Float courseFavorateRate) {
        this.courseFavorateRate = courseFavorateRate;
    }

    public Integer getCourseGood() {
        return courseGood;
    }

    public void setCourseGood(Integer courseGood) {
        this.courseGood = courseGood;
    }

    public Integer getCourseZhong() {
        return courseZhong;
    }

    public void setCourseZhong(Integer courseZhong) {
        this.courseZhong = courseZhong;
    }

    public Integer getCourseCha() {
        return courseCha;
    }

    public void setCourseCha(Integer courseCha) {
        this.courseCha = courseCha;
    }

    public Integer getCourseAll() {
        return courseAll;
    }

    public void setCourseAll(Integer courseAll) {
        this.courseAll = courseAll;
    }

    public Integer getCourseState() {
        return courseState;
    }

    public void setCourseState(Integer courseState) {
        this.courseState = courseState;
    }

    public String getCourseFlag() {
        return courseFlag;
    }

    public void setCourseFlag(String courseFlag) {
        this.courseFlag = courseFlag;
    }
}
